package com.geovis.emergency.spd.entity.mobile.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author ：linwl
 * @date ：Created in 2022/6/21 9:58
 * @description：事件任务统计VO
 * @version: v1
 */
@Data
@ApiModel("事件任务统计VO")
public class PcDrillPlanTaskStatisticsVO {

    @ApiModelProperty("统计类型(关联业务字典event_statistics的value)")
    @NotBlank(message = "统计类型不允许为空")
    private String statisticsType;

    @ApiModelProperty("统计数量")
    @NotNull(message = "统计数量不允许为空")
    @Min(value = 0, message = "最小数值只能输入0")
    @Max(value = 9999999, message = "最大数值只能输入9999999")
    private Integer statisticsCount;
}
